#!/bin/bash
# program
# file preview server start
export JAVA_HOME=/usr/local/java/jdk1.8.0_231
export JRE=$JAVA_HOME/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE/lib:.
export PATH=$JAVA_HOME/bin/:$JRE/bin:$PATH
nohup java -jar /home/work/ai-cat/ai-cat.jar &  
tail -f nohup.out